using System;
using System.Diagnostics;
using UnityEditor;

namespace Framework.Editor.Proto2CS
{
    public static class Proto2CS
    {
        public static void AllProto2CS()
        {
            Process process = ProcessUtilty.Run("dotnet", "Proto2CS.dll", "../Proto/", true);
            Log.Info(process.StandardOutput.ReadToEnd());
            AssetDatabase.Refresh();
        }
    }
}